package com.pap.rbacfeignapi;

import com.pap.obj.vo.response.ResponseVO;
import com.pap.rbacfeignapi.dto.UserInfoDTO;
import com.pap.rbacfeignapi.dto.UserLoginDTO;
import org.springframework.stereotype.Component;

@Component
public class UserServiceAPIFallback implements IUserService {

    @Override
    public ResponseVO<UserInfoDTO> loginByLoginName(String papVersion, UserLoginDTO userLoginDTO) {
        return ResponseVO.validfail("服务端熔断异常!");
    }

}
